﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PlayerStat.Entities
{
    public enum TopBench
    {
        Top,
        Bench
    }

    public enum Postion
    {
        GoalKeeper,
        Defense,
        Midfield,
        Forward,
        Substitute,
        Unknown
    }

    public class PlayerStat
    {
        public int PlayerId
        {
            get;
            set;
        }

        public int PlayerNumber
        {
            get;
            set;
        }

        public string PlayerName
        {
            get;
            set;
        }

        public int MatchId
        {
            get;
            set;
        }

        public int TeamId
        {
            get;
            set;
        }

        public TopBench TopBench
        {
            get;
            set;
        }

        public int YellowCards
        {
            get;
            set;
        }

        public int RedCards
        {
            get;
            set;
        }

        public int MarkingId
        {
            get;
            set;
        }

        public Postion Position
        {
            get;
            set;
        }

        public int Goals
        {
            get;
            set;
        }

        public bool IsSwitchOut
        {
            get;
            set;
        }
    }
}
